<template>
    <div >
        <div v-if="type==1">
            <img src="../../assets/images/vip_hj.png" alt="">
        </div>
        <div  v-if="type==2">
            <img src="../../assets/images/vip_zs.png" alt="">
        </div>
    </div>
</template>

<script>
    export default {
        beforeRouteEnter(to,from,next){
            if(from.path=="/employSearch"){
                next()
            }
        },
        data(){
            return {
                type:""
            }
        },
        mounted(){
            this.type = this.$route.query.type
        },
        methods:{
        }
    }
</script>

<style lang="less" scoped>
    img{
        display: block;
        width: 100%;
        padding-top: 20px;
        box-sizing: border-box;
        padding-right: 7px;
    }
</style>
